// template.js
module.exports = {
	componentTemplate: compoentName => {
		return `<template>
	<view class="${compoentName}"></view>
</template>

<script setup lang="ts">
import $mUtils from '@/common/utils'

onMounted(() => {})
</script>

<style lang="scss" scoped></style>
`
	},
	globalRegisterImportTemplate: (dirPath, compoentName) =>
		`import ${compoentName} from './${dirPath}/${compoentName}'`,
	globalRegisterExportTemplate: compoentName =>
		`	Vue.component(${compoentName}.name, ${compoentName})\n}`
}
